<?php

return [

    /*
    |--------------------------------------------------------------------------
    | API Response Messages
    |--------------------------------------------------------------------------
    |
    | The following language lines are used for API response messages.
    | You are free to modify these language lines according to your
    | application's requirements.
    |
    */

    // 通用消息
    'success' => '操作成功',
    'error' => '操作失败',
    'created' => '创建成功',
    'updated' => '更新成功',
    'deleted' => '删除成功',
    'not_found' => '资源不存在',
    'unauthorized' => '未授权访问',
    'forbidden' => '禁止访问',
    'validation_failed' => '数据验证失败',
    'server_error' => '服务器内部错误',

    // 用户认证相关
    'login_success' => '登录成功',
    'login_failed' => '登录失败',
    'logout_success' => '退出登录成功',
    'token_refresh_success' => 'Token刷新成功',
    'token_invalid' => 'Token无效',
    'token_expired' => 'Token已过期',

    // 房间相关
    'room_created' => '房间创建成功',
    'room_updated' => '房间更新成功',
    'room_deleted' => '房间已关闭',
    'room_not_found' => '房间不存在',
    'room_closed' => '房间已关闭',
    'room_expired' => '房间已过期',
    'room_join_success' => '加入房间成功',
    'room_join_failed' => '加入房间失败',
    'room_leave_success' => '离开房间成功',
    'room_pinned' => '房间已置顶',
    'room_unpinned' => '房间已取消置顶',
    'room_permission_denied' => '无权限访问房间',
    'room_already_joined' => '您已在此房间中',
    'room_full' => '房间人数已达上限',

    // 订单相关
    'order_created' => '订单提交成功',
    'order_updated' => '订单更新成功',
    'order_cancelled' => '订单已取消',
    'order_confirmed' => '订单已确认',
    'order_not_found' => '订单不存在',
    'order_permission_denied' => '无权限操作订单',
    'order_status_invalid' => '订单状态不允许操作',
    'order_duplicate' => '您已在此房间中提交过订单',
    'order_detail_success' => '获取订单详情成功',
    'order_list_success' => '获取订单列表成功',
    'order_stats_success' => '获取订单统计成功',

    // 菜品相关
    'dish_not_found' => '菜品不存在',
    'dish_unavailable' => '菜品不可用',
    'dish_search_success' => '菜品搜索成功',
    'dish_list_success' => '获取菜品列表成功',

    // 菜单相关
    'menu_template_success' => '获取菜单模板成功',
    'menu_template_list_success' => '获取菜单模板列表成功',

    // 用户相关
    'user_info_success' => '获取用户信息成功',
    'user_updated' => '用户信息更新成功',

    // 性能监控相关
    'performance_system_success' => '获取系统指标成功',
    'performance_database_success' => '获取数据库指标成功',
    'performance_cache_success' => '获取缓存指标成功',
    'performance_cache_cleared' => '缓存清除成功',
    'performance_log_stats_success' => '获取日志统计成功',
    'performance_benchmark_success' => '性能测试完成',
    'performance_thresholds_success' => '获取性能阈值成功',
    'performance_activity_logs_success' => '获取活动日志成功',

];
